Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor sync out of block_store.rs #2089

Merged
merged 122 commits into from
Feb 3, 2025
Merged

Refactor sync out of block_store.rs #2089

merged 122 commits into from
Feb 3, 2025

Conversation

shawn-zil
Copy link
Contributor

@shawn-zil shawn-zil commented Jan 6, 2025

This PR attempts to take the block syncing feature out of block_store.rs.

It performs syncing using a 3-phase mechanism:

  1. Build an in-memory chain history.
  2. Fetches the proposals for this chain history and injects them into the pipeline.
  3. Injects the latest proposals into the pipeline.

It is working on the local docker cluster - a new node is able to sync from genesis, and sync from elsewhere in history.

Copy link
Contributor

github-actions bot commented Jan 6, 2025

🐰 Bencher Report

Branch2039-refactor-blockstore
Testbedself-hosted
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
full-blocks-erc20-transfers/full-blocks-erc20-transfers📈 view plot
🚷 view threshold
1,193.00
(-9.95%)
1,799.10
(66.31%)
full-blocks-evm-transfers/full-blocks-evm-transfers📈 view plot
🚷 view threshold
381.35
(-32.92%)
765.15
(49.84%)
full-blocks-zil-transfers/full-blocks-zil-transfers📈 view plot
🚷 view threshold
4,057.60
(-1.24%)
5,194.08
(78.12%)
process-empty/process-empty📈 view plot
🚷 view threshold
9.70
(+10.49%)
10.50
(92.44%)
🐰 View full continuous benchmarking report in Bencher

@shawn-zil shawn-zil force-pushed the 2039-refactor-blockstore branch 8 times, most recently from e5482f3 to 6768786 Compare January 10, 2025 11:46
@shawn-zil shawn-zil force-pushed the 2039-refactor-blockstore branch 17 times, most recently from 5fb4bf9 to e6e96bb Compare January 23, 2025 04:12
@shawn-zil shawn-zil force-pushed the 2039-refactor-blockstore branch 2 times, most recently from 8bc3ac6 to a98d900 Compare February 3, 2025 09:12
@shawn-zil shawn-zil added this pull request to the merge queue Feb 3, 2025
Merged via the queue into main with commit 692f0d8 Feb 3, 2025
7 of 8 checks passed
@shawn-zil shawn-zil deleted the 2039-refactor-blockstore branch February 3, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants